package com.itmuch.cloud.study.user.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import config.Configuration2;

@FeignClient(name = "feign2", url = "http://localhost:8761/", configuration = Configuration2.class)
public interface Feign2 {

  @RequestMapping("/eureka/apps/{serviceName}")
  public String test(@RequestParam("serviceName") String serviceName);
}
